import { PRODUCT_TYPES } from '../index';
const formItemList = [
  {
    prop: 'categoryPath',
    label: '分类',
    type: 'input'
  },
  {
    prop: 'spuNo',
    label: 'SPU编码',
    type: 'input'
  },
  {
    prop: 'productName',
    label: '商品名称',
    type: 'input'
  },
  {
    prop: 'brandName',
    label: '商品品牌',
    type: 'input'
  },
  {
    prop: 'productType',
    label: '商品类型',
    type: 'select',
    clearable: true,
    options: PRODUCT_TYPES
  },
  {
    prop: 'operName',
    label: '提交人',
    type: 'input'
  }
]
const tableColumns = [
  {
    title: '单据编号',
    key: 'recordNo',
    width: 200,
    fixed: 'left'
  },
  {
    title: '分类',
    key: 'categoryPath'
  },
  {
    title: 'SPU编码',
    key: 'spuNo'
  },
  {
    title: '商品名称',
    key: 'productName'
  },
  {
    title: '品牌',
    key: 'brandName'
  },
  {
    title: '提交人',
    key: 'operName'
  },
  {
    title: '提交部门',
    key: 'operDeptName'
  },
  {
    title: '商品类型',
    key: 'productTypeStr'
  },
  {
    title: '管理区域',
    key: 'manageAreaName'
  },
  {
    title: '销售属性',
    key: 'saleAttrInfo'
  },
  {
    title: '创建日期',
    key: 'createOpeTime'
  },
  {
    title: '商品SKU信息(包装)',
    key: 'packageAddStateStr',
    width: 150
  },
  {
    title: '供货信息',
    key: 'supplyPriceAddStateStr'
  },
  {
    title: '售价信息',
    key: 'salePriceAddStateStr'
  },
  {
    title: '图文介绍',
    key: 'picAddStateStr'
  },
  {
    title: '验收标准',
    key: 'acceptanceAddStateStr'
  },
  {
    title: '资质信息',
    key: 'qualificationAddStateStr',
    align: 'center'
  },
]
export {
  formItemList,
  tableColumns
}
